package com.singzi.testCase;

import org.junit.Test;

public class Exo {
    private int a = 1;
    public static void main(String[] args) {
        int num = 2;
        if(num >0){
            throw new IllegalArgumentException(" 123");
        }
        try{
            System.out.println("123");
        }catch (Exception e){
            System.out.println("456");
        }finally {
            System.out.println("789");
        }
    }
    @Test
    public void test01(){
        int a = 1;
        throw new IllegalArgumentException();
    }

}
